/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.csource.manage.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 描述: 案源登记详情表 case_source_register_detail_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年08月12日
 */
@Data
@Table(name = "csource.case_source_register_detail_info")
public class CaseSourceRegisterDetailInfo implements Serializable {
    /**
     * 主键id
     */
    @Column(name = "id")
    private String id;

    /**
     * 案源id
     */
    @Id
    @Column(name = "case_source_id")
    private String caseSourceId;

    /**
     * 检查任务编号
     */
    @Column(name = "check_task_number")
    private String checkTaskNumber;

    /**
     * 检查任务id
     */
    @Column(name = "check_task_id")
    private String checkTaskId;

    /**
     * 检查任务名称
     */
    @Column(name = "check_task_name")
    private String checkTaskName;

    /**
     * 检查时间
     */
    @Column(name = "check_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date checkTime;

    /**
     * 主检查人员id
     */
    @Column(name = "check_main_person_id")
    private String checkMainPersonId;

    /**
     * 主检查人员姓名
     */
    @Column(name = "check_main_person_name")
    private String checkMainPersonName;

    /**
     * 主检查人机构编码
     */
    @Column(name = "check_main_person_org_code")
    private String checkMainPersonOrgCode;

    /**
     * 主检查人机构名称
     */
    @Column(name = "check_main_person_org_name")
    private String checkMainPersonOrgName;

    /**
     * 辅检查人员id
     */
    @Column(name = "check_assist_person_id")
    private String checkAssistPersonId;

    /**
     * 辅检查人员姓名
     */
    @Column(name = "check_assist_person_name")
    private String checkAssistPersonName;

    /**
     * 辅检查人机构编码
     */
    @Column(name = "check_assist_person_org_code")
    private String checkAssistPersonOrgCode;

    /**
     * 辅助检查人机构名称
     */
    @Column(name = "check_assist_person_org_name")
    private String checkAssistPersonOrgName;

    /**
     * 主检查人部门编码
     */
    @Column(name = "check_main_person_dept_code")
    private String checkMainPersonDeptCode;

    /**
     * 主检查人部门名称
     */
    @Column(name = "check_main_person_dept_name")
    private String checkMainPersonDeptName;

    /**
     * 辅检查人部门编码
     */
    @Column(name = "check_assist_person_dept_code")
    private String checkAssistPersonDeptCode;

    /**
     * 辅检查人部门名称
     */
    @Column(name = "check_assist_person_dept_name")
    private String checkAssistPersonDeptName;

    /**
     * 主检查人执法证号（一人多证时逗号分隔）
     */
    @Column(name = "check_main_law_enforcement_cert")
    private String checkMainLawEnforcementCert;

    /**
     * 辅检查人执法证号（一人多证时逗号分隔）
     */
    @Column(name = "check_assist_law_enforcement_cert")
    private String checkAssistLawEnforcementCert;

    /**
     * 检查点内容
     */
    @Column(name = "check_position_content")
    private String checkPositionContent;

    /**
     * 检查证据id列表(多个以逗号分割)
     */
    @Column(name = "check_evidence_ids")
    private String checkEvidenceIds;

    /**
     * 添加时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 检查主体的ID
     */
    @Column(name = "check_ent_id")
    private String checkEntId;

    /**
     * 检查机构的ID
     */
    @Column(name = "check_org_id")
    private String checkOrgId;

    private static final long serialVersionUID = 1L;
}